package com.baitiaojun.system.admin.service.permission;

import com.baitiaojun.system.admin.pojo.SysRoleDO;

import java.util.Set;

public interface AuthPermissionService {

    Set<SysRoleDO> getRolesByUserId(String userId);

    Set<String> getPermsByUserId(String userId, boolean isAdmin);
}
